Fix Docker API 1.52 compatibility (Docker Engine 29.0.0+)#700
Merged
jesseduffield merged 1 commit intojesseduffield:masterfrom Nov 14, 2025
Merged
Conversation
- Upgrade Docker client from v27.1.1 to v28.5.2 - Update hardcoded API version from 1.25 to 1.52 - Enable API version negotiation for better compatibility - Fix compatibility with Docker Engine 29.0.0 and newer versions Resolves issues with lazydocker not working with latest Docker clients.
evrial
reviewed
Nov 12, 2025
|
|
||
| const ( | ||
| APIVersion = "1.25" | ||
| APIVersion = "1.52" |
There was a problem hiding this comment.
Unused constant. WithAPIVersionNegotiation() works with older versions too
evrial
reviewed
Nov 12, 2025
| ## Requirements | ||
|
|
||
| - Docker >= **1.13** (API >= **1.25**) | ||
| - Docker >= **29.0** (API >= **1.52**) |
There was a problem hiding this comment.
Server: Docker Engine - Community
Engine:
Version: 29.0.0
API version: 1.52 (minimum version 1.24)
Owner
Author
|
Hi @jesseduffield, thank you so much for merging my changes! I apologize; I somehow missed the feedback comments from earlier. Thanks again for your time and help. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes compatibility issues with Docker Engine 29.0.0+ and Docker API version 1.52.
Changes Made
Testing
Fixes
Breaking Changes
None - backward compatible with older Docker versions through API negotiation.